package com.travel;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;
//主应用程序 启动应用程序 启用jpa审计 启用方法安全
@SpringBootApplication
@EnableJpaAuditing
@EnableMethodSecurity
public class SeverApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeverApplication.class, args);
    }
} 